//
//  CustomCell.m
//  ColorTableView
//
//  Created by Cakes on 16/4/22.
//  Copyright © 2016年 Cakes. All rights reserved.
//

#import "CustomCell.h"
@interface CustomCell (){


    UIButton *button;

}
@property (nonatomic,strong)NSArray *colorArr;

@end
@implementation CustomCell
- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        [self initUI];
    }
    return self;
}

- (void)initUI{
    [self setBackgroundColor:[UIColor clearColor]];
    _colorArr = @[@"baise",@"heise",@"fense",@"lanse",@"huangse",@"hongse",@"lvse"];
    _btn = [[UIButton alloc] initWithFrame:CGRectMake(18, 18, 15, 15)];
    [_btn setBackgroundColor:[UIColor clearColor]];
    [_btn.layer setCornerRadius:15.0/2.0];
//    [_btn addTarget:self action:@selector(TouchEvent:) forControlEvents:UIControlEventTouchUpInside];
    [self addSubview:_btn];
}

//- (void)TouchEvent:(UIButton *)btns
//{
////    NSLog(@"%d", btns.tag);
//    [_MCustomCellDelegate selectTag:(int)btns.tag];
//}


@end
